<template>
	<view class="scrollbox">
		<scroll-view scroll-y="true">
			<view>
				<slot></slot>
			</view>
		</scroll-view>
	</view>
</template>

<script>
	export default {
		name:"listScroll",
		data() {
			return {
				
			};
		}
	}
</script>

<style>
	.scrollbox{
		flex: 1;
		box-sizing: border-box;
		overflow: hidden;
	}
	.scrollbox scroll-view{
		height: 100%;
		flex-direction: column;
	}
</style>